package com.bjsxt.service;


import com.bjsxt.pojo.Admin;
import com.bjsxt.pojo.AnswerOpt;

import java.util.List;
import java.util.Map;

public interface AdminServer {

    public int create(Admin admin);

    public int delete(Integer id);

    public int deleteBatch(String ids);

    public int update(Admin admin);

    public List<Admin> query(Admin admin);

    public Admin detail(Admin admin);

    public int count(Admin admin);

    public Admin login(String account,String password);

}
